/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.sql.Date;

/**
 *
 * @author Loc Vo
 */
public class Sach {

    private String ma_sach,
            ten_sach,
            theloai,
            tacgia,
            nxb;
    private float giaban;
    private int soluong;
    private Date ngay_xb;

    public Sach(String ma_sach, String ten_sach, String ma_tl, String ma_tg, String ma_nxb, Date ngay_xb, float giaban, int soluong) {
        this.ma_sach = ma_sach;
        this.ten_sach = ten_sach;
        this.theloai = ma_tl;
        this.tacgia = ma_tg;
        this.nxb = ma_nxb;
        this.ngay_xb = ngay_xb;
        this.giaban = giaban;
        this.soluong = soluong;
    }

    public String getMa_sach() {
        return ma_sach;
    }

    public String getTen_sach() {
        return ten_sach;
    }

    public String getMa_tl() {
        return theloai;
    }

    public String getMa_tg() {
        return tacgia;
    }

    public String getMa_nxb() {
        return nxb;
    }

    public float getGiaban() {
        return giaban;
    }

    public int getSoluong() {
        return soluong;
    }

    public Date getNgay_xb() {
        return ngay_xb;
    }
}
